Skip to main content

Posts tagged with 'Windows 8'

This week, there's a Manning Publishing promotion brought to you by my friends at PostSharp! This week of deals will bring you 50% off of a whole bunch of great .NET and/or AOP related books, including mine. You'll also get free excerpts from each book, so you can try before you buy.

Today, you can get my book, AOP in .NET, for 50% off, using code dotd0819au.

These are the Promotional Codes that will be active all week:
 
Day One: Save 50% on C# in Depth, Third Edition and Real-World Functional Programming. Enter pswkd1 in the Promotional Code box when you check out. Expires midnight ET August 20. Only at manning.com.
 
Day Two: Save 50% on AOP in .NET and AspectJ in Action, Second Edition. Enter pswkd2 in the Promotional Code box when you check out. Expires midnight ET August 21. Only at manning.com.
 
Day Three: Save 50% on ASP.NET MVC 4 in Action and ASP.NET 4.0 in Practice. Enter pswkd3 in the Promotional Code box when you check out. Expires midnight ET Aug 22. Only at manning.com.
 
Day Four: Save 50% on Metaprogramming in .NET and DSLs in Boo. Enter pswkd4 in the Promotional Code box when you check out. Expires midnight ET Aug 23. Only at manning.com.
 
Day Five: Save 50% on Brownfield Application Development in .NET and Continuous Integration in .NET. Enter pswkd5 in the Promotional Code box when you check out. Expires midnight ET Aug 24. Only at manning.com.
 
Day Six: Save 50% on Windows Store App Development and Windows 8 Apps with HTML5 and JavaScript. Enter pswkd6 in the Promotional Code box when you check out. Expires midnight ET Aug 25. Only at manning.com.

So, if you are a .NET developer, a web developer, or just trying to learn some more skills, this is the week for you!

Does PostSharp work on Windows 8 (or more correctly, with .NET 4.5)? The short answer is: not yet.

Long answer:

I tried to get it to work, I really did. I tried using the PostSharp Silverlight assembly. I tried installing with NuGet and I tried directly from the PostSharp installer. I tried it with a fox, I tried it on a box.

NuGet fail in VS11

I'm guessing that SharpCrafters is going to wait until Windows 8 / .NET 4.5 is more stable and closer to release before worrying about updating PostSharp. SharpCrafters is a very small company, so they probably can't afford to spend resources on updating their product to work for a framework and operating system that aren't even used by the general public yet, which is totally understandable.

Here are some technical details about why it's not working. I do think it should work fine with VS11 if you are writing a .NET 4 app, if you are already doing that for whatever reason (can you do that? I actually don't remember). I'm going to try some other AOP tools on Windows 8 and see what I come up with, just in case you desperately need AOP in your hot new Metro app. I'm guessing DynamicProxy probably works in a XAML/C# project, and any JavaScript AOP solutions would probably work in an HTML/JS project, but we'll see...

EDIT:

Chad England has confirmed in a blog post that you can get PostSharp working in VS11 with non-.NET 4.5 projects.

Matthew D. Groves

About the Author

Matthew D. Groves lives in Central Ohio. He works remotely, loves to code, and is a Microsoft MVP.

Latest Comments

Twitter